#modeltag({tagcode:"jxbrms_systemuserinfo",id:(params[0])})
#include("/common/layout/bootstrap_form_layout.html")
#@layout()

#define head()
#define title()
#(jxrb.message("action.view","  ",systemuserinfo.user_name))
#end
<script language="javascript">
  seajs.use(['jquery', 'jx_msgbox_plus', 'jxbrms_list'], function ($, msgbox)
  {
    $("#b_return").on("click", function ()
    {
      var parentId = $("#parentId").val();
      if(parentId == ""){
        location.href = "#(controllerKey)1-1"
      }else{
        location.href = "#(controllerKey)2-" + parentId;
      }
    });
    function pageDataRefresh(strUrl)
    {
      msgbox.load({url: encodeURI(strUrl), type: "GET"}, function (data)
      {
        $("#datainfo").html(data);
      });
    }

    $(function () {
      pageDataRefresh(encodeURI('#(jxwebpath.item)users/viewInfo/#(systemuserinfo.user_id)'));
    });
    window.pageDataRefresh = pageDataRefresh;
  });
</script>
#end

#define form()
#include ("info.html")
<div id="datainfo">

</div>
#end

#define formAfter()

<center>
  #jx_button({id:"b_return",value:"action.return",class:"btn btn-danger"})
</center>
#end

